# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class AvailabilityGroup(object):

    def __init__(self, id=None, name=None, description=None, instanceTemplateId=None, azs=None, agType=None, createTime=None, count=None, autoScaling=None, configurationType=None, placementType=None, instancesQuotas=None):
        """
        :param id: (Optional) 高可用组ID
        :param name: (Optional) 高可用组名称
        :param description: (Optional) 描述
        :param instanceTemplateId: (Optional) 实例模板的ID
        :param azs: (Optional) 可用区域
        :param agType: (Optional) 高可用组资源类型
        :param createTime: (Optional) 创建时间
        :param count: (Optional) 高可用组中实例的数量
        :param autoScaling: (Optional) 是否开启自动伸缩
        :param configurationType: (Optional) 高可用组配置类型
        :param placementType: (Optional) 高可用组放置类型
        :param instancesQuotas: (Optional) 高可用组中实例数量的限制。
        """

        self.id = id
        self.name = name
        self.description = description
        self.instanceTemplateId = instanceTemplateId
        self.azs = azs
        self.agType = agType
        self.createTime = createTime
        self.count = count
        self.autoScaling = autoScaling
        self.configurationType = configurationType
        self.placementType = placementType
        self.instancesQuotas = instancesQuotas
